package com.yeswater.multithread.chapter1.test1_1;

/**
 * author : yeswater
 * date : 2023/10/18
 */

public class Test1 {
    public static void main(String[] args) {
        Thread thread = Thread.currentThread();
        // System.out.println("current thread : " + JSON.toJSONString(thread));
        System.out.println("current thread name : " + thread.getName());  // current thread name : main
    }
}
